﻿// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_SIGNATURE_ATTACHED
// * CreateDate    : 2012/2/27 17:17:29
// * Creater       : CodeSmith
// * LastChangeDate: 2012/2/27 17:17:29
// * LastChanger   : 2012/2/27 17:17:29
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class MstSignatureAttachedTable : TableInfo
    {
        public const string C_TableName = "MST_SIGNATURE_ATTACHED";

        public const string C_SIGNATURE_ID = "SIGNATURE_ID";
        public const string C_PERSON_ID = "PERSON_ID";
        public const string C_FILE_NAME = "FILE_NAME";

        public MstSignatureAttachedTable()
        {
            _tableName = "MST_SIGNATURE_ATTACHED";
        }

        protected static MstSignatureAttachedTable _current;
        public static MstSignatureAttachedTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new MstSignatureAttachedTable();

            _current.Add(C_SIGNATURE_ID, new ColumnInfo(C_SIGNATURE_ID, "SignatureId", true, typeof(string)));
            _current.Add(C_PERSON_ID, new ColumnInfo(C_PERSON_ID, "PersonId", false, typeof(string)));
            _current.Add(C_FILE_NAME, new ColumnInfo(C_FILE_NAME, "FileName", false, typeof(string)));

        }

        public ColumnInfo SIGNATURE_ID
        {
            get { return this[C_SIGNATURE_ID]; }
        }

        public ColumnInfo PERSON_ID
        {
            get { return this[C_PERSON_ID]; }
        }

        public ColumnInfo FILE_NAME
        {
            get { return this[C_FILE_NAME]; }
        }



    }
}

